package cn.com.spring.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * bean扫描
 *
 * @author LiuGuodong
 * @date 2023/10/07
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface BeanScan {

    /**
     * 包路径
     *
     * @return {@link String}
     */
    String value() default "";

    /**
     * 排除
     *
     * @return {@link Class}<{@link ?}>{@link []}
     */
    Class<?>[] exclude() default {};
}
